package com.example.devsa_platform.controller;

import com.example.devsa_platform.common.Result;
import com.example.devsa_platform.pojo.vo.stats.ProfessionalDeveloperVo;
import com.example.devsa_platform.service.ProfessionalDeveloperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/s6")
public class ProfessionalDeveloperController {
    @Autowired
    ProfessionalDeveloperService professionalDeveloperService;
    @GetMapping("/professionalDeveloperStats")
    public Result<ProfessionalDeveloperVo> professionalDeveloperStats() {
        return professionalDeveloperService.getProfessionalDeveloperStats();
    }
}
